home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / pcw.zip / WPRINTF.C < prev    next >
Text File  |  1990-01-16  |  981b  |  28 lines

  1. /************************************************************/
  2. /* File Id.                  Wprintf.C                      */
  3. /* Author.                   Stan Milam.                    */
  4. /* Date Written.             02/27/88.                      */
  5. /* Date Last Modified.                                      */
  6. /*                                                          */
  7. /*           (c) Copyright 1989-90 by Stan Milam            */
  8. /*                                                          */
  9. /* Comments:                                                */
  10. /************************************************************/
  11.  
  12. #include <stdio.h>
  13. #include <stdarg.h>
  14. #include "pcw.i"
  15. #include "pcwproto.h"
  16. #define wrkstr PCWRKSTR
  17.  
  18. extern char wrkstr[];
  19.  
  20. int wprintf(WNDPTR *wnd, int row, int col, char *format,...) {
  21.  
  22.    va_list arglist;
  23.  
  24.    va_start(arglist, format);
  25.    vsprintf(wrkstr, format, arglist);
  26.    return(wputs(wnd, row, col, wrkstr));
  27. }
  28.